package com.rao.config;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.springframework.stereotype.Component;

/**
 * @Author: raoguang
 * @Date: 2022/10/08/0:32
 * @Description:
 */
@Aspect
@Component
public class AnnotationPointCut {

    @Before("execution(* com.rao.controller.TestController.*(..))")
    public void before() {
        System.out.println("=======方法执行前=======");
    }

}
